//猜你喜欢的组合式函数

import type { XtxGuessInstance } from '@/types/component'
import { ref } from 'vue'

export const useGuessList = () => {
  //猜你喜欢的实例
  const guessRef = ref<XtxGuessInstance>()

  //滚动触底
  const onend = () => {
    guessRef.value?.getMore()
  }

  return {
    guessRef,
    onend,
  }
}
